<?php
declare (strict_types=1);

namespace app\middleware;

use app\common\Jwt;
use app\traits\ApiResponseTrait;
use think\helper\Arr;
use think\Response;

class SystemPermission
{
    use ApiResponseTrait;

    /**
     * 处理请求
     *
     * @param \think\Request $request
     * @param \Closure $next
     * @return Response
     */
    public function handle($request, \Closure $next)
    {
        // todo 后端菜单校验
        return $next($request);
    }
}
